package com.data.migration.entity;

/**
 * Created by Peter on 2018/12/8.
 */
public class Operation {
    public static final String app_type_A = "A";
    public static final String app_type_T = "T";
    public static final String operation_type_Q = "Q";
    public static final String operation_type_U = "U";
    private Integer id;//	int
    private String app_type;//	char A：A版数据库,T：青少版数据库
    private String operation_type;//	char Q：查询操作，U：更新操作
    private String operation_sql;//	text sql语句
    private String operation_step;//	int 操作步骤，如：1
    private String operation_step_desc;//	varchar 操作步骤说明，如：A版添加两个列，app_type和t_id(青少版数据的id)，为数据迁移做好准备

    public Operation() {
    }

    public Operation( String app_type, String operation_type, String operation_sql, String operation_step, String operation_step_desc) {
        this.app_type = app_type;
        this.operation_type = operation_type;
        this.operation_sql = operation_sql;
        this.operation_step = operation_step;
        this.operation_step_desc = operation_step_desc;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getApp_type() {
        return app_type;
    }

    public void setApp_type(String app_type) {
        this.app_type = app_type;
    }

    public String getOperation_type() {
        return operation_type;
    }

    public void setOperation_type(String operation_type) {
        this.operation_type = operation_type;
    }

    public String getOperation_sql() {
        return operation_sql;
    }

    public void setOperation_sql(String operation_sql) {
        this.operation_sql = operation_sql;
    }

    public String getOperation_step() {
        return operation_step;
    }

    public void setOperation_step(String operation_step) {
        this.operation_step = operation_step;
    }

    public String getOperation_step_desc() {
        return operation_step_desc;
    }

    public void setOperation_step_desc(String operation_step_desc) {
        this.operation_step_desc = operation_step_desc;
    }
}
